package com.kxmall.vehicle.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 餐车柜格状态商品信息对象
 */
@Data
@ApiModel("餐车柜格状态商品信息对象")
@ExcelIgnoreUnannotated
public class KxVehicleBoxGoodsVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "餐车柜格状态商品信息主键ID")
    @ExcelProperty(value = "餐车柜格状态商品信息主键ID")
    private Long id;

    @ApiModelProperty(value = "餐车ID")
    @ExcelProperty(value = "餐车ID")
    private Long vehicleId;

    @ApiModelProperty(value = "餐车动力单元编号")
    @ExcelProperty(value = "餐车动力单元编号")
    private String vehicleNo;

    @ApiModelProperty(value = "餐车号/名称")
    @ExcelProperty(value = "餐车号/名称")
    private String vehicleName;

    @ApiModelProperty(value = "餐车柜格索引 1~24")
    @ExcelProperty(value = "餐车柜格索引")
    private Integer boxIndex;

    @ApiModelProperty(value = "餐车柜门状态 -1:离线;  0:关门; 1:开门")
    @ExcelProperty(value = "餐车柜门状态")
    private Integer boxStatus;

    @ApiModelProperty(value = "餐车柜格商品的入柜状态  0:待入柜; 1:已入柜")
    @ExcelProperty(value = "餐车柜格商品的入柜状态")
    private Integer boxStates;

    @ApiModelProperty(value = "餐车柜格上架商品信息表ID")
    @ExcelProperty(value = "餐车柜格上架商品信息表ID")
    private Long upGoodsId;

    @ApiModelProperty(value = "餐车柜格上架商品单号")
    @ExcelProperty(value = "餐车柜格上架商品单号")
    private String goodsNumbers;

    @ApiModelProperty(value = "餐车柜子内商品销售状态 0:下架或已售; 1:上架且未售")
    @ExcelProperty(value = "餐车柜子内商品销售状态")
    private Integer salesStatus;

    @ApiModelProperty(value = "上架人")
    @ExcelProperty(value = "上架人")
    private String upPerson;

    @ApiModelProperty(value = "上架时间")
    @ExcelProperty(value = "上架时间")
    private Date upTime;

    @ApiModelProperty(value = "上架日期")
    @ExcelProperty(value = "上架日期")
    private Date upDay;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "餐车调入商品表ID")
    @ExcelProperty(value = "餐车调入商品表ID")
    private Long inGoodsId;

    @ApiModelProperty(value = "入车单号")
    @ExcelProperty(value = "入车单号")
    private String inVehicleOrder;

    @ApiModelProperty(value = "调入餐车数量")
    @ExcelProperty(value = "调入餐车数量")
    private Long inVehicleCount;

    @ApiModelProperty(value = "商品表ID")
    @ExcelProperty(value = "商品表ID")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    @ExcelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品类目ID")
    @ExcelProperty(value = "商品类目ID")
    private Long productAttrId;

    @ApiModelProperty(value = "商品规格")
    @ExcelProperty(value = "商品规格")
    private String productAttrName;

    @ApiModelProperty(value = "商品类目ID")
    @ExcelProperty(value = "商品类目ID")
    private Long categoryId;

    @ApiModelProperty(value = "商品类目")
    @ExcelProperty(value = "商品类目")
    private String categoryName;

    //@ApiModelProperty(value = "商品条码")
    //@ExcelProperty(value = "商品条码")
    //private String barCode;

    @ApiModelProperty(value = "原价")
    @ExcelProperty(value = "原价")
    private BigDecimal orPrice;

    @ApiModelProperty(value = "当前售价")
    @ExcelProperty(value = "当前售价")
    private BigDecimal price;

    @ApiModelProperty(value = "数量")
    @ExcelProperty(value = "数量")
    private Integer count;

    @ApiModelProperty(value = "总价")
    @ExcelProperty(value = "总价")
    private BigDecimal amount;

    @ApiModelProperty(value = "库存可用量")
    @ExcelProperty(value = "库存可用量")
    private Long stock;

    @ApiModelProperty(value = "创建者")
    @ExcelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    @ExcelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}
